<?php
declare (strict_types=1);

namespace app\api\validate;

use think\Validate;

class Login extends Validate
{
    protected $rule = [
        'mobile' => 'require',
        'password' => 'require'
    ];

    protected $message = [
        'mobile.require' => '请填写手机号',
        'password.require' => '请填写登录密码'
    ];
}